package com.easylinkin.linkappapi.grid.models.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 网格用户表
 *
 * @author 
 * @since 2024-05-15
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GridUserDTO implements Serializable{
    private static final long serialVersionUID=1L;

    @NotNull(message = "ID不能为空")
    @ApiModelProperty(value = "ID", name = "id")
    private Integer id;

    /**
     * 用户id
     */
    @NotBlank(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID", name = "userId")
    private String userId;

}
